using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using LocalizationAdminTool;

namespace Administration_Toolkit_v2
{
    public partial class Home : Form
    {
        public Home()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Adds new application
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void addApplicationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddApplication form = new AddApplication();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Modify application cultures
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void modifyApplicationCultureToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ModifyApplicationCultures form = new ModifyApplicationCultures();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Import Resx Files
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void importResxFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImportResxFiles form = new ImportResxFiles();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Import Master Resx Files
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void importMasterResxFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ImportMasterResxFiles form = new ImportMasterResxFiles();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Export Resx Files
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void exportResxFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExportResxFiles form = new ExportResxFiles();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Export Master Resx Files
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void exportMasterResxFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExportMasterResxFiles form = new ExportMasterResxFiles();
            form.MdiParent = this;
            form.Show();
        }

        /// <summary>
        /// Resx File History
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void resxFileHistoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ResxFileHistory form = new ResxFileHistory();
            form.MdiParent = this;
            form.Show();
        }

        private void aboutUsToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            AboutusForm form = new AboutusForm();
            form.MdiParent = this;
            form.Show();
        }

        private void exportMasterDiffResxFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ExportMasterDiffResxFile form = new ExportMasterDiffResxFile();
            form.MdiParent = this;
            form.Show();
        }
    }
}